  {include file="styles/header.tpl"}
  <div id="content" class="box">
  <h1> Import Categroy mapping global</h1>
  <br/>
	<form method="post" action="{$smarty.const.HOST_ADMIN}/category-mapping/import" enctype="multipart/form-data" target="ifrmCategoryMapping" onsubmit="return doSubmit();">
			<label>Upload Category Mapping: </label><input type="file" name="file" readonly="true" />
			<input type="submit" value="Upload Data" class="bt" />
		</form>
	<iframe name="ifrmCategoryMapping" id="ifrmCategoryMapping" width="100%" style="display:none"></iframe>
	</div>
	{literal}
<script type="text/javascript">
	function doSubmit()
	{
		showWaiting();
		return true;
	}
	
	function update_done()
	{
		alert('The process is done.');
		window.location.href = window.location.href;
		$.unblockUI();
	}	
</script>
{/literal}
{include file="styles/footer.tpl"}